using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._MaritimeTools._S._100
{
    /// <summary>
    /// <para>Export S-101 Cell</para>
    /// <para>Exports S-101 hydrographic data from a geodatabase to an S-101 file.</para>
    /// <para>将 S-101 水文数据从地理数据库导出到 S-101 文件。</para>
    /// </summary>    
    [DisplayName("Export S-101 Cell")]
    public class ExportS101Cell : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ExportS101Cell()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_feature_catalogue">
        /// <para>S-100 Feature Catalogue</para>
        /// <para>An S-100 feature catalogue document that describes the content of a data product and specification.</para>
        /// <para>描述数据产品和规范内容的 S-100 功能目录文档。</para>
        /// </param>
        /// <param name="_in_s101_workspace">
        /// <para>S-101 Workspace</para>
        /// <para>The workspace that contains the product.</para>
        /// <para>包含产品的工作区。</para>
        /// </param>
        /// <param name="_product">
        /// <para>S-101 Product</para>
        /// <para><xdoc>
        ///   <para>The name of the product to export.</para>
        ///   <para>This information must exist in the ProductCoverage feature class and ProductDefinition table before using this tool.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>要导出的产品的名称。</para>
        ///   <para>在使用此工具之前，此信息必须存在于 ProductCoverage 要素类和 ProductDefinition 表中。</para>
        /// </xdoc></para>
        /// </param>
        /// <param name="_export_type">
        /// <para>Export Type</para>
        /// <para><xdoc>
        ///   <para>The type of file created during export.</para>
        ///   <bulletList>
        ///     <bullet_item>New edition—A new edition of a dataset, including new information that has not been previously distributed by updates. This is the default.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>导出期间创建的文件类型。</para>
        ///   <bulletList>
        ///     <bullet_item>新版本 - 数据集的新版本，包括以前未通过更新分发的新信息。这是默认设置。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// </param>
        /// <param name="_output_location">
        /// <para>Output Location</para>
        /// <para>The location where the export package will be written.</para>
        /// <para>将写入导出包的位置。</para>
        /// </param>
        public ExportS101Cell(object _in_feature_catalogue, object _in_s101_workspace, object _product, _export_type_value _export_type, object _output_location)
        {
            this._in_feature_catalogue = _in_feature_catalogue;
            this._in_s101_workspace = _in_s101_workspace;
            this._product = _product;
            this._export_type = _export_type;
            this._output_location = _output_location;
        }
        public override string ToolboxName => "Maritime Tools";

        public override string ToolName => "Export S-101 Cell";

        public override string CallName => "maritime.ExportS101Cell";

        public override List<string> AcceptEnvironments => ["S100FeatureCatalogueFile", "workspace"];

        public override object[] ParameterInfo => [_in_feature_catalogue, _in_s101_workspace, _product, _export_type.GetGPValue(), _output_location, _out_output_file];

        /// <summary>
        /// <para>S-100 Feature Catalogue</para>
        /// <para>An S-100 feature catalogue document that describes the content of a data product and specification.</para>
        /// <para>描述数据产品和规范内容的 S-100 功能目录文档。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("S-100 Feature Catalogue")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_feature_catalogue { get; set; }


        /// <summary>
        /// <para>S-101 Workspace</para>
        /// <para>The workspace that contains the product.</para>
        /// <para>包含产品的工作区。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("S-101 Workspace")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_s101_workspace { get; set; }


        /// <summary>
        /// <para>S-101 Product</para>
        /// <para><xdoc>
        ///   <para>The name of the product to export.</para>
        ///   <para>This information must exist in the ProductCoverage feature class and ProductDefinition table before using this tool.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>要导出的产品的名称。</para>
        ///   <para>在使用此工具之前，此信息必须存在于 ProductCoverage 要素类和 ProductDefinition 表中。</para>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("S-101 Product")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _product { get; set; }


        /// <summary>
        /// <para>Export Type</para>
        /// <para><xdoc>
        ///   <para>The type of file created during export.</para>
        ///   <bulletList>
        ///     <bullet_item>New edition—A new edition of a dataset, including new information that has not been previously distributed by updates. This is the default.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>导出期间创建的文件类型。</para>
        ///   <bulletList>
        ///     <bullet_item>新版本 - 数据集的新版本，包括以前未通过更新分发的新信息。这是默认设置。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Export Type")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public _export_type_value _export_type { get; set; }

        public enum _export_type_value
        {
            /// <summary>
            /// <para>New edition</para>
            /// <para>New edition—A new edition of a dataset, including new information that has not been previously distributed by updates. This is the default.</para>
            /// <para>新版本 - 数据集的新版本，包括以前未通过更新分发的新信息。这是默认设置。</para>
            /// </summary>
            [Description("New edition")]
            [GPEnumValue("NEW_EDITION")]
            _NEW_EDITION,

        }

        /// <summary>
        /// <para>Output Location</para>
        /// <para>The location where the export package will be written.</para>
        /// <para>将写入导出包的位置。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Location")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _output_location { get; set; }


        /// <summary>
        /// <para>Output File</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output File")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_output_file { get; set; }


        public ExportS101Cell SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}